package com.qualityevaluationclouduser.repository;

import com.qualityevaluationclouduser.entity.RoleInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: qualityEvaluationCloudProject
 * @class: RoleInfoRepository
 * @description: 角色信息仓库
 * @author:
 * @create:
 **/
@Repository
public interface RoleInfoRepository extends JpaRepository<RoleInfo,Long>, JpaSpecificationExecutor<RoleInfo> {
    boolean existsRoleInfoByRolename (String roleName);
    void deleteRoleInfosByIdIn(List<Long> idList);
}
